FROM java:8
MAINTAINER sq
ADD msg-server-0.0.1-SNAPSHOT.jar msg.jar
VOLUME ["/logs","/config"]
EXPOSE 8080
ENTRYPOINT ["java","-jar","/msg.jar","--spring.config.location=/config/application.msg.yml>/logs/msg.log"]